package com.example.utils;


/**
 * The type Result data.
 */
public class ResultData {


    /**
     * 构造方法
     *
     * @param success the success
     * @param code    the code
     * @param message the message
     * @param time    the time
     * @param data    the data
     */
    public ResultData(Boolean success, Integer code, String message, String time, Object data) {
        this.success = success;
        this.code = code;
        this.message = message;
        this.Query_Time = time;
        this.data = data;
    }

    /**
     * 返回结果编码
     */
    private Boolean success;


    /**
     * Gets success.
     *
     * @return the success
     */
    public Boolean getSuccess() {
        return success;
    }

    /**
     * Sets success.
     *
     * @param success the success
     */
    public void setSuccess(Boolean success) {
        this.success = success;
    }

    /**
     * Gets code.
     *
     * @return the code
     */
    public Integer getCode() {
        return code;
    }

    /**
     * Sets code.
     *
     * @param code the code
     */
    public void setCode(Integer code) {
        this.code = code;
    }

    /**
     * Gets message.
     *
     * @return the message
     */
    public String getMessage() {
        return message;
    }

    /**
     * Sets message.
     *
     * @param message the message
     */
    public void setMessage(String message) {
        this.message = message;
    }


    /**
     * Gets query time.
     *
     * @return the query time
     */
    public String getQuery_Time() {
        return Query_Time;
    }

    /**
     * Sets query time.
     *
     * @param query_Time the query time
     */
    public void setQuery_Time(String query_Time) {
        Query_Time = query_Time;
    }

    /**
     * Gets data.
     *
     * @return the data
     */
    public Object getData() {
        return data;
    }

    /**
     * Sets data.
     *
     * @param data the data
     */
    public void setData(Object data) {
        this.data = data;
    }

    /**
     * 返回结果编码
     */
    private Integer code;
    /**
     * 返回状态信息
     */
    private String message;

    private String Query_Time;
    /**
     * 返回结果数据
     */
    private Object data;

}